package com.pro.mapper;

import com.pro.pojo.JsCourseRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;

/**
 * ClassName:JsMicroRecord
 * Package:com.pro.mapper
 * Description:
 *
 * @Date:2021/12/7 下午 3:56
 * @Author: WYH
 */
public interface JsMicroRecordMapper{
    /**
     * @author WYH
     * @date 2021/12/7 下午 4:16
     * @content : 查看所有微圈审核
     */
    List<JsCourseRecord> getAllMicRecord(@Param("result") String result);
    /**
     * @author WYH
     * @date 2021/12/7 下午 4:19
     * @content : 计算所有微圈审核
     */
    Integer count(String result);

    /**
     * @author WYH
     * @date 2021/12/7 下午 8:30
     * @content : 模糊查询
     */
    List<JsCourseRecord> getMoMicRecord(@Param("artcleTitle")String artcleTitle,@Param("artcleCategroyName")String artcleCategroyName,@Param("trueName") String trueName);

    /**
     * @author WYH
     * @date 2021/12/7 下午 8:30
     * @content : 计算模糊查询
     */
    Integer countMo(@Param("artcleTitle")String artcleTitle,@Param("artcleCategroyName")String artcleCategroyName,@Param("trueName") String trueName);

    /**
     * @author WYH
     * @date 2021/12/8 上午 11:35
     * @content :  审核修改
     */
    Boolean updateMicro(JsCourseRecord jsCourseRecord);
}
